snapcraft cannot build snap by default on aarch64
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
On aarch64 architecture calling the snapcraft command without additional options doesn't work.
Indeed, snapcraft tries to launch a multipass instance based on the image snapcraft:core20. This image doesn't seem to exist on arm (not listed in `multipass list` on arm64 while listed on amd64)
To reproduce this behaviour on an aarch64 ubuntu:
sudo snap install snapcraft --classic
snapcraft init
snapcraft
Then we get this error:
Launching a VM.
warning: "--mem" long option will be deprecated in favour of "--memory" in a future release.Please update any scripts, etc.
launch failed: Unable to find an image matching "core20". Please use `multipass find` for supported remotes and images.
An error occurred with the instance when trying to launch with 'multipass': returned exit code 2.
Ensure that 'multipass' is setup correctly and try again.
snapcraft --version
snapcraft 7.3.1
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS"
Evaluation history
No evaluation history available.